//***********************************************************************************
// NPCs and player Spritesheet

// Author: Aaron Ng A0072144N

//***********************************************************************************

var spritesV1 =    {


armyFaceDown:    {w: 94, h: 128, x: 1044, y: 262, duration: 200},
armyFaceLeft:    {w: 80, h: 128, x: 1302, y: 392, duration: 200},
armyFaceRight:    {w: 80, h: 128, x: 1286, y: 1302, duration: 200},
armyFaceUp:    {w: 94, h: 128, x: 1044, y: 132, duration: 200},
armyFightDown1:    {w: 110, h: 128, x: 114, y: 1432, duration: 200},
armyFightDown2:    {w: 110, h: 128, x: 114, y: 1302, duration: 200},
armyFightDownBlue1:    {w: 110, h: 128, x: 114, y: 1172, duration: 200},
armyFightDownBlue2:    {w: 110, h: 128, x: 114, y: 1042, duration: 200},
armyFightDownPurple1:    {w: 110, h: 128, x: 114, y: 912, duration: 200},
armyFightDownPurple2:    {w: 110, h: 128, x: 114, y: 782, duration: 200},
armyFightDownRed1:    {w: 110, h: 128, x: 114, y: 652, duration: 200},
armyFightDownRed2:    {w: 110, h: 128, x: 114, y: 522, duration: 200},
armyFightDownYellow1:    {w: 110, h: 128, x: 114, y: 392, duration: 200},
armyFightDownYellow2:    {w: 110, h: 128, x: 114, y: 262, duration: 200},
armyFightLeft1:    {w: 100, h: 128, x: 650, y: 1302, duration: 200},
armyFightLeft2:    {w: 102, h: 128, x: 650, y: 522, duration: 200},
armyFightLeftBlue1:    {w: 100, h: 128, x: 648, y: 1432, duration: 200},
armyFightLeftBlue2:    {w: 102, h: 128, x: 648, y: 1172, duration: 200},
armyFightLeftPurple1:    {w: 100, h: 128, x: 546, y: 1822, duration: 200},
armyFightLeftPurple2:    {w: 102, h: 128, x: 648, y: 1042, duration: 200},
armyFightLeftRed1:    {w: 100, h: 128, x: 546, y: 1692, duration: 200},
armyFightLeftRed2:    {w: 102, h: 128, x: 648, y: 912, duration: 200},
armyFightLeftYellow1:    {w: 100, h: 128, x: 546, y: 1562, duration: 200},
armyFightLeftYellow2:    {w: 102, h: 128, x: 546, y: 1302, duration: 200},
armyFightRight1:    {w: 100, h: 128, x: 546, y: 1432, duration: 200},
armyFightRight2:    {w: 102, h: 128, x: 442, y: 1822, duration: 200},
armyFightRightBlue1:    {w: 100, h: 128, x: 652, y: 392, duration: 200},
armyFightRightBlue2:    {w: 102, h: 128, x: 442, y: 1692, duration: 200},
armyFightRightPurple1:    {w: 100, h: 128, x: 652, y: 262, duration: 200},
armyFightRightPurple2:    {w: 102, h: 128, x: 442, y: 1562, duration: 200},
armyFightRightRed1:    {w: 100, h: 128, x: 652, y: 132, duration: 200},
armyFightRightRed2:    {w: 102, h: 128, x: 442, y: 1432, duration: 200},
armyFightRightYellow1:    {w: 100, h: 128, x: 650, y: 782, duration: 200},
armyFightRightYellow2:    {w: 102, h: 128, x: 548, y: 392, duration: 200},
armyFightUp1:    {w: 110, h: 128, x: 114, y: 132, duration: 200},
armyFightUp2:    {w: 110, h: 128, x: 1906, y: 2, duration: 200},
armyFightUpBlue1:    {w: 110, h: 128, x: 1794, y: 2, duration: 200},
armyFightUpBlue2:    {w: 110, h: 128, x: 1682, y: 2, duration: 200},
armyFightUpPurple1:    {w: 110, h: 128, x: 1570, y: 2, duration: 200},
armyFightUpPurple2:    {w: 110, h: 128, x: 1458, y: 2, duration: 200},
armyFightUpRed1:    {w: 110, h: 128, x: 1346, y: 2, duration: 200},
armyFightUpRed2:    {w: 110, h: 128, x: 1234, y: 2, duration: 200},
armyFightUpYellow1:    {w: 110, h: 128, x: 1122, y: 2, duration: 200},
armyFightUpYellow2:    {w: 110, h: 128, x: 1010, y: 2, duration: 200},
armyPurcahseUp1:    {w: 110, h: 128, x: 898, y: 2, duration: 200},
armyPurcahseUp2:    {w: 110, h: 128, x: 786, y: 2, duration: 200},
armyPurchaseDown1:    {w: 110, h: 128, x: 674, y: 2, duration: 200},
armyPurchaseDown2:    {w: 110, h: 128, x: 562, y: 2, duration: 200},
armyPurchaseLeft1:    {w: 102, h: 128, x: 548, y: 262, duration: 200},
armyPurchaseLeft2:    {w: 102, h: 128, x: 548, y: 132, duration: 200},
armyPurchaseRight1:    {w: 102, h: 128, x: 546, y: 782, duration: 200},
armyPurchaseRight2:    {w: 102, h: 128, x: 546, y: 652, duration: 200},
armyTalkDown1:    {w: 110, h: 128, x: 450, y: 2, duration: 200},
armyTalkDown2:    {w: 110, h: 128, x: 338, y: 2, duration: 200},
armyTalkLeft1:    {w: 102, h: 128, x: 546, y: 522, duration: 200},
armyTalkLeft2:    {w: 102, h: 128, x: 544, y: 1172, duration: 200},
armyTalkRight1:    {w: 102, h: 128, x: 544, y: 1042, duration: 200},
armyTalkRight2:    {w: 102, h: 128, x: 544, y: 912, duration: 200},
armyTalkUp1:    {w: 110, h: 128, x: 226, y: 2, duration: 200},
armyTalkUp2:    {w: 110, h: 128, x: 114, y: 2, duration: 200},
armyWalkDown1:    {w: 94, h: 128, x: 1042, y: 652, duration: 200},
armyWalkDown2:    {w: 94, h: 128, x: 1042, y: 522, duration: 200},
armyWalkLeft1:    {w: 80, h: 128, x: 1286, y: 1172, duration: 200},
armyWalkLeft2:    {w: 80, h: 128, x: 1300, y: 782, duration: 200},
armyWalkRight1:    {w: 80, h: 128, x: 1298, y: 912, duration: 200},
armyWalkRight2:    {w: 80, h: 128, x: 1286, y: 1042, duration: 200},
armyWalkUp1:    {w: 94, h: 128, x: 1040, y: 782, duration: 200},
armyWalkUp2:    {w: 94, h: 128, x: 948, y: 1822, duration: 200},
citizenFaceDown:    {w: 94, h: 128, x: 948, y: 1692, duration: 200},
citizenFaceLeft:    {w: 80, h: 128, x: 1126, y: 1822, duration: 200},
citizenFaceRight:    {w: 80, h: 128, x: 1126, y: 1692, duration: 200},
citizenFaceUp:    {w: 94, h: 128, x: 948, y: 1562, duration: 200},
citizenInfluencedDown1:    {w: 108, h: 128, x: 226, y: 1172, duration: 200},
citizenInfluencedDown2:    {w: 108, h: 128, x: 226, y: 1042, duration: 200},
citizenInfluencedLeft1:    {w: 102, h: 128, x: 442, y: 1302, duration: 200},
citizenInfluencedLeft2:    {w: 102, h: 128, x: 444, y: 392, duration: 200},
citizenInfluencedRight1:    {w: 100, h: 128, x: 650, y: 652, duration: 200},
citizenInfluencedRight2:    {w: 104, h: 128, x: 336, y: 782, duration: 200},
citizenInfluencedUp1:    {w: 110, h: 128, x: 2, y: 1822, duration: 200},
citizenInfluencedUp2:    {w: 110, h: 128, x: 2, y: 1692, duration: 200},
//new addition
citizenTalkDown1:    {w: 110, h: 128, x: 1332, y: 522, duration: 200},
citizenTalkDown2:    {w: 110, h: 128, x: 1332, y: 652, duration: 200},
citizenTalkLeft1:    {w: 102, h: 128, x: 1304, y: 262, duration: 200},
citizenTalkLeft2:    {w: 102, h: 128, x: 1408, y: 262, duration: 200},
citizenTalkRight1:    {w: 104, h: 128, x: 1512, y: 262, duration: 200},
citizenTalkRight2:    {w: 104, h: 128, x: 1616, y: 262, duration: 200},
citizenTalkUp1:    {w: 110, h: 128, x: 1444, y: 522, duration: 200},
citizenTalkUp2:    {w: 110, h: 128, x: 1444, y: 652, duration: 200},
//end addition
citizenWalkDown1:    {w: 94, h: 128, x: 946, y: 1432, duration: 200},
citizenWalkDown2:    {w: 94, h: 128, x: 944, y: 1302, duration: 200},
citizenWalkLeft1:    {w: 80, h: 128, x: 1206, y: 1432, duration: 200},
citizenWalkLeft2:    {w: 80, h: 128, x: 1126, y: 1562, duration: 200},
citizenWalkRight1:    {w: 80, h: 128, x: 1220, y: 652, duration: 200},
citizenWalkRight2:    {w: 80, h: 128, x: 1220, y: 522, duration: 200},
citizenWalkUp1:    {w: 94, h: 128, x: 944, y: 1172, duration: 200},
citizenWalkUp2:    {w: 94, h: 128, x: 944, y: 1042, duration: 200},
merchantFaceDown:    {w: 94, h: 128, x: 944, y: 912, duration: 200},
merchantFaceLeft:    {w: 80, h: 128, x: 1222, y: 262, duration: 200},
merchantFaceRight:    {w: 80, h: 128, x: 1222, y: 132, duration: 200},
merchantFaceUp:    {w: 94, h: 128, x: 948, y: 392, duration: 200},
merchantSaleDown:    {w: 94, h: 128, x: 948, y: 262, duration: 200},
merchantSaleLeft:    {w: 80, h: 128, x: 1220, y: 392, duration: 200},
merchantSaleRight:    {w: 80, h: 128, x: 1204, y: 1302, duration: 200},
merchantSaleUp:    {w: 94, h: 128, x: 948, y: 132, duration: 200},
merchantWalkDown1:    {w: 94, h: 128, x: 946, y: 652, duration: 200},
merchantWalkDown2:    {w: 94, h: 128, x: 946, y: 522, duration: 200},
merchantWalkLeft1:    {w: 80, h: 128, x: 1204, y: 1172, duration: 200},
merchantWalkLeft2:    {w: 80, h: 128, x: 1218, y: 782, duration: 200},
merchantWalkRight1:    {w: 80, h: 128, x: 1216, y: 912, duration: 200},
merchantWalkRight2:    {w: 80, h: 128, x: 1204, y: 1042, duration: 200},
merchantWalkUp1:    {w: 94, h: 128, x: 944, y: 782, duration: 200},
merchantWalkUp2:    {w: 94, h: 128, x: 850, y: 1432, duration: 200},
playerFaceDown:    {w: 92, h: 128, x: 1040, y: 912, duration: 200},
playerFaceLeft:    {w: 80, h: 128, x: 1044, y: 1822, duration: 200},
playerFaceRight:    {w: 80, h: 128, x: 1044, y: 1692, duration: 200},
playerFaceUp:    {w: 94, h: 128, x: 848, y: 1302, duration: 200},
playerWalkDown1:    {w: 94, h: 128, x: 848, y: 1172, duration: 200},
playerWalkDown2:    {w: 94, h: 128, x: 848, y: 1042, duration: 200},
playerWalkLeft1:    {w: 80, h: 128, x: 1124, y: 1432, duration: 200},
playerWalkLeft2:    {w: 80, h: 128, x: 1044, y: 1562, duration: 200},
playerWalkRight1:    {w: 80, h: 128, x: 1138, y: 652, duration: 200},
playerWalkRight2:    {w: 80, h: 128, x: 1138, y: 522, duration: 200},
playerWalkUp1:    {w: 94, h: 128, x: 848, y: 912, duration: 200},
playerWalkUp2:    {w: 94, h: 128, x: 852, y: 392, duration: 200},
rebelFaceDown:    {w: 92, h: 128, x: 1044, y: 392, duration: 200},
rebelFaceLeft:    {w: 80, h: 128, x: 1140, y: 262, duration: 200},
rebelFaceRight:    {w: 80, h: 128, x: 1140, y: 132, duration: 200},
rebelFaceUp:    {w: 94, h: 128, x: 852, y: 262, duration: 200},
rebelFightDown1:    {w: 108, h: 128, x: 226, y: 912, duration: 200},
rebelFightDown2:    {w: 110, h: 128, x: 2, y: 1562, duration: 200},
rebelFightDownBlue1:    {w: 108, h: 128, x: 226, y: 782, duration: 200},
rebelFightDownBlue2:    {w: 110, h: 128, x: 2, y: 1432, duration: 200},
rebelFightDownPurple1:    {w: 108, h: 128, x: 226, y: 652, duration: 200},
rebelFightDownPurple2:    {w: 110, h: 128, x: 2, y: 1302, duration: 200},
rebelFightDownRed1:    {w: 108, h: 128, x: 226, y: 522, duration: 200},
rebelFightDownRed2:    {w: 110, h: 128, x: 2, y: 1172, duration: 200},
rebelFightDownYellow1:    {w: 108, h: 128, x: 226, y: 392, duration: 200},
rebelFightDownYellow2:    {w: 110, h: 128, x: 2, y: 1042, duration: 200},
rebelFightLeft1:    {w: 98, h: 128, x: 848, y: 1822, duration: 200},
rebelFightLeft2:    {w: 102, h: 128, x: 444, y: 262, duration: 200},
rebelFightLeftBlue1:    {w: 98, h: 128, x: 848, y: 1692, duration: 200},
rebelFightLeftBlue2:    {w: 102, h: 128, x: 444, y: 132, duration: 200},
rebelFightLeftPurple1:    {w: 98, h: 128, x: 848, y: 1562, duration: 200},
rebelFightLeftPurple2:    {w: 102, h: 128, x: 442, y: 782, duration: 200},
rebelFightLeftRed1:    {w: 98, h: 128, x: 748, y: 1822, duration: 200},
rebelFightLeftRed2:    {w: 102, h: 128, x: 442, y: 652, duration: 200},
rebelFightLeftYellow1:    {w: 98, h: 128, x: 748, y: 1692, duration: 200},
rebelFightLeftYellow2:    {w: 102, h: 128, x: 442, y: 522, duration: 200},
rebelFightRight1:    {w: 98, h: 128, x: 750, y: 1432, duration: 200},
rebelFightRight2:    {w: 106, h: 128, x: 336, y: 392, duration: 200},
rebelFightRightBlue1:    {w: 98, h: 128, x: 748, y: 1562, duration: 200},
rebelFightRightBlue2:    {w: 106, h: 128, x: 336, y: 262, duration: 200},
rebelFightRightPurple1:    {w: 98, h: 128, x: 648, y: 1822, duration: 200},
rebelFightRightPurple2:    {w: 106, h: 128, x: 336, y: 132, duration: 200},
rebelFightRightRed1:    {w: 98, h: 128, x: 648, y: 1692, duration: 200},
rebelFightRightRed2:    {w: 106, h: 128, x: 334, y: 1822, duration: 200},
rebelFightRightYellow1:    {w: 98, h: 128, x: 648, y: 1562, duration: 200},
rebelFightRightYellow2:    {w: 106, h: 128, x: 334, y: 1692, duration: 200},
rebelFightUp1:    {w: 106, h: 128, x: 334, y: 1562, duration: 200},
rebelFightUp2:    {w: 110, h: 128, x: 2, y: 912, duration: 200},
rebelFightUpBlue1:    {w: 106, h: 128, x: 334, y: 1432, duration: 200},
rebelFightUpBlue2:    {w: 110, h: 128, x: 2, y: 782, duration: 200},
rebelFightUpPurple1:    {w: 106, h: 128, x: 334, y: 1302, duration: 200},
rebelFightUpPurple2:    {w: 110, h: 128, x: 2, y: 652, duration: 200},
rebelFightUpRed1:    {w: 106, h: 128, x: 226, y: 1432, duration: 200},
rebelFightUpRed2:    {w: 110, h: 128, x: 2, y: 522, duration: 200},
rebelFightUpYellow1:    {w: 106, h: 128, x: 226, y: 1302, duration: 200},
rebelFightUpYellow2:    {w: 110, h: 128, x: 2, y: 392, duration: 200},
rebelInfluenceDown1:    {w: 108, h: 128, x: 226, y: 262, duration: 200},
rebelInfluenceDown2:    {w: 108, h: 128, x: 226, y: 132, duration: 200},
rebelInfluenceLeft1:    {w: 102, h: 128, x: 440, y: 1172, duration: 200},
rebelInfluenceLeft2:    {w: 102, h: 128, x: 440, y: 1042, duration: 200},
rebelInfluenceRight1:    {w: 96, h: 128, x: 754, y: 392, duration: 200},
rebelInfluenceRight2:    {w: 96, h: 128, x: 754, y: 262, duration: 200},
rebelInfluenceUp1:    {w: 108, h: 128, x: 224, y: 1822, duration: 200},
rebelInfluenceUp2:    {w: 108, h: 128, x: 224, y: 1692, duration: 200},
rebelPurchaseDown1:    {w: 108, h: 128, x: 224, y: 1562, duration: 200},
rebelPurchaseDown2:    {w: 108, h: 128, x: 114, y: 1822, duration: 200},
rebelPurchaseLeft1:    {w: 102, h: 128, x: 440, y: 912, duration: 200},
rebelPurchaseLeft2:    {w: 102, h: 128, x: 336, y: 1172, duration: 200},
rebelPurchaseRight1:    {w: 96, h: 128, x: 754, y: 132, duration: 200},
rebelPurchaseRight2:    {w: 96, h: 128, x: 752, y: 652, duration: 200},
rebelPurchaseUp1:    {w: 108, h: 128, x: 114, y: 1692, duration: 200},
rebelPurchaseUp2:    {w: 108, h: 128, x: 114, y: 1562, duration: 200},
rebelWalkDown1:    {w: 94, h: 128, x: 852, y: 132, duration: 200},
rebelWalkDown2:    {w: 94, h: 128, x: 850, y: 652, duration: 200},
rebelWalkLeft1:    {w: 80, h: 128, x: 1138, y: 392, duration: 200},
rebelWalkLeft2:    {w: 80, h: 128, x: 1122, y: 1302, duration: 200},
rebelWalkRight1:    {w: 80, h: 128, x: 1122, y: 1172, duration: 200},
rebelWalkRight2:    {w: 80, h: 128, x: 1136, y: 782, duration: 200},
rebelWalkUp1:    {w: 94, h: 128, x: 850, y: 522, duration: 200},
rebelWalkUp2:    {w: 94, h: 128, x: 848, y: 782, duration: 200},
spyFaceDown:    {w: 94, h: 128, x: 752, y: 1302, duration: 200},
spyFaceLeft:    {w: 80, h: 128, x: 1134, y: 912, duration: 200},
spyFaceRight:    {w: 80, h: 128, x: 1122, y: 1042, duration: 200},
spyFaceUp:    {w: 94, h: 128, x: 752, y: 1172, duration: 200},
spyInfluenceDown1:    {w: 110, h: 128, x: 2, y: 262, duration: 200},
spyInfluenceDown2:    {w: 110, h: 128, x: 2, y: 132, duration: 200},
spyInfluenceLeft1:    {w: 102, h: 128, x: 336, y: 1042, duration: 200},
spyInfluenceLeft2:    {w: 102, h: 128, x: 336, y: 912, duration: 200},
spyInfluenceRight1:    {w: 104, h: 128, x: 336, y: 652, duration: 200},
spyInfluenceRight2:    {w: 104, h: 128, x: 336, y: 522, duration: 200},
spyInfluenceUp1:    {w: 110, h: 128, x: 2, y: 2, duration: 200},
spyInfluenceUp2:    {w: 110, h: 128, x: 2, y: 2, duration: 200},
spyWalkDown1:    {w: 94, h: 128, x: 752, y: 1042, duration: 200},
spyWalkDown2:    {w: 94, h: 128, x: 752, y: 912, duration: 200},
spyWalkLeft1:    {w: 80, h: 128, x: 1042, y: 1432, duration: 200},
spyWalkLeft2:    {w: 80, h: 128, x: 1040, y: 1302, duration: 200},
spyWalkRight1:    {w: 80, h: 128, x: 1040, y: 1172, duration: 200},
spyWalkRight2:    {w: 80, h: 128, x: 1040, y: 1042, duration: 200},
spyWalkUp1:    {w: 94, h: 128, x: 752, y: 782, duration: 200},
spyWalkUp2:    {w: 94, h: 128, x: 754, y: 522, duration: 200}

};